/**
 * Design elements for default Template
 *
 * @author Andreas Gohr <andi@splitbrain.org>
 * @author Anika Henke <henke@cosmocode.de>
 */

/* -------------- general elements --------------- */

div.history {
  padding-top: 4px;
  margin-top: 4px;
  border-top: 1px solid #8cacbb;
}
div.history>span {
  font-weight: bold;
}
div.history>span+span {
  font-weight: normal;
}

div.modes {
  border-top: 1px solid #8cacbb;
  padding-top: 4px;
  margin-top: 4px;
  margin-bottom: 4px;
}
/* the document */
div#wiki {
  font-size: 100%;
/*  font-family: "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif;*/
  color: Black;
  margin: 0;
  padding: 0;
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: justify;
}

div#wiki table {
  font-size: 100%;
  padding:0;
  margin:0;
}

div#wiki tr,div#wiki td,div#wiki th {padding:0; margin:0;}

div#wiki img {border:0}

div#wiki p {padding:0; margin: 0 0 1.0em 0;}

div#wiki hr {
  border: 0px;
  border-top: 1px solid #8cacbb;
  text-align:center;
  height: 0px;
}

div#wiki div.nothing {
  text-align:center;
	margin: 2em;
}

/* ---------------- forms ------------------------ */

div#wiki form {
  border: none;
  margin: 0;
  display: inline;
}

div#wiki label {
  display: block;
  text-align: right;
  font-weight: bold;
}

div#wiki label.simple {
  text-align: left;
  font-weight: normal;
}

div#wiki label input.edit {
  width: 50%;
}

div#wiki fieldset {
  width: 300px;
  text-align: center;
  border: 1px solid #8cacbb;
  padding: 0.5em;
}

div#wiki textarea.edit {
  font-family:monospace;
  border: 1px solid #8cacbb;  
  color: Black;
  background-color: white;
  font-size:14px;
  padding: 3px;
  width:100%;
}

div#wiki input.edit,select.edit {
  font-size: 100%;
  border: 1px solid #8cacbb;
  height: 18px !important;
  max-height: 22px !important;
  min-height: 22px !important;
  color: Black;
  background-color: white;
  vertical-align: middle;
  padding: 1px;
  display: inline;
}

div#wiki input.missing {
  font-size: 100%;
  border: 1px solid #8cacbb;
  height: 18px !important;
  max-height: 22px !important;
  min-height: 22px !important;
  color: Black;
  background-color: #ffcccc;
  vertical-align: middle;
  padding: 1px;
  display: inline;
}

/* --------- buttons ------------------- */


div#wiki input.button, button.button{
  border: 1px solid #8cacbb;  
  color: Black;
  background-color: white;
  vertical-align: middle;
  text-decoration:none;
  font-size: 100%;
  cursor: pointer;
  height: 22px !important;
  max-height: 22px !important;
  min-height: 22px !important;
  margin: 1px;
  display: inline;
}

div#wiki div.secedit input.button {
  border: 1px solid #8cacbb;
  color: Black;
  background-color: white;
  vertical-align: middle;
  text-decoration:none;
  margin: 0px;
  padding: 0px;
  font-size: 10px;
  cursor: pointer;
  height: 15px !important;
  max-height: 15px !important;
  min-height: 15px !important;
  float:right;
  display: inline;
}

/* ----------- page navigator ------------- */

div#wiki div.pagenav {
	margin-top:1em;
}

div#wiki div.pagenav-prev {
	text-align:right;	
	float:left;
	width:50%
}

div#wiki div.pagenav-prev input.button {
	margin-right:5px;
}

div#wiki div.pagenav-next {
	text-align:left;
	float:right;
	width:50%
}

div#wiki div.pagenav-next input.button {
	margin-left:5px;
}

/* --------------- Links ------------------ */

div#wiki a {
  color:#436976;
  text-decoration:none;
  background: none;
  padding: 0px;
}
div#wiki a:hover {
  color:#000000;
  text-decoration:underline;
}

/* external link */
div#wiki a.urlextern{
    background: transparent url(../images/wiki/link_icon.gif) 0px 1px no-repeat;
    padding: 1px 0px 1px 16px;
    color:#436976;
    text-decoration:none;
}
div#wiki a.urlextern:visited {
  color:Purple;
}
div#wiki a.urlextern:hover {
  text-decoration:underline;
}

/* windows share */
div#wiki a.windows{
    background: transparent url(../images/wiki/windows.gif) 0px 1px no-repeat;
    padding: 1px 0px 1px 16px;
    color:#436976;
    text-decoration:none;
} 
div#wiki a.windows:visited {
  color:Purple;
}
div#wiki a.windows:hover { 
  text-decoration:underline;
}

/* interwiki link */
div#wiki a.interwiki{
    background: transparent url(../images/wiki/interwiki.png) 0px 1px no-repeat;
		padding-left: 16px;
    color:#436976;
    text-decoration:none;
}
div#wiki a.interwiki:visited {
  color:Purple;
}
div#wiki a.interwiki:hover {
  text-decoration:underline;
}

/* link to some embedded media */
div#wiki a.media {
  color:#436976;
  text-decoration:none;
}
div#wiki a.media:hover {
  color:#436976;
  text-decoration:underline
}

/* email link */
div#wiki a.mail {
  background: transparent url(../images/wiki/mail_icon.gif) 0px 1px no-repeat;
  padding: 1px 0px 1px 16px;
  color:#436976;
  text-decoration:none;
}
div#wiki a.mail:hover {
  text-decoration:underline;
}

/* existing wikipage */
div#wiki a.wikilink1:link    { color:#009900; text-decoration:none }
div#wiki a.wikilink1:visited { color:#009900; text-decoration:none }
div#wiki a.wikilink1:hover   { color:#009900; text-decoration:underline }

/* not existing wikipage */
div#wiki a.wikilink2:link    { color:#FF3300; text-decoration:none }
div#wiki a.wikilink2:visited { color:#FF3300; text-decoration:none }
div#wiki a.wikilink2:hover   { color:#FF3300; text-decoration:underline }


/* ------------- Page elements ----------------- */

div#wiki div.preview{
  background:#f7f9fa;
  margin-left:2em;
  padding: 4px;
  border: 1px dashed #000000;
}

div#wiki div.breadcrumbs{
  background-color: #f5f5f5;
  font-size:80%;
  color: #666666;
  padding-left: 4px;
}

div#wiki span.user{
  color: #cccccc;
  font-size: 90%;
}

/* embedded images */
div#wiki img.media {
  margin: 3px;
}

div#wiki img.medialeft {
  border: 0;
  float: left;
  margin: 0 1.5em 0 0;
}

div#wiki img.mediaright {
  border: 0;
  float: right;
  margin: 0 0 0 1.5em;
}

div#wiki img.mediacenter {
  border: 0;
	display: block;
  margin-left: auto;
  margin-right: auto;
}

div#wiki acronym {
  cursor: help;
  border-bottom: 1px dotted #000;
}

div#wiki big {
  font-size: 120%;
}

div#wiki small {
  font-size: 80%em;
}

/* general headline setup */
div#wiki h1, div#wiki h2, div#wiki h3, div#wiki h4, div#wiki h5 {
    color: black;
    background-color: transparent;
    font-size: 100%;
    font-weight: normal;
    margin-left:    0em;
    margin-right:   0em;
    margin-top:     0em;
    margin-bottom:  1em;
    padding-left:   0em;
    padding-right:  0em;
    padding-top:    0.5em;
    padding-bottom: 0em;
    border: 0px;
    border-bottom: 1px solid #8cacbb;
    clear: left;
    text-align: left;
    font-weight: bold;
    font-style: normal;
    height: auto;
    -moz-opacity: 1;

}

/* special headlines */
div#wiki h1 {font-size: 160%; margin-left: 0px; border-width: 3px;}
div#wiki h2 {font-size: 150%; margin-left: 0px; border-width: 2px;}
div#wiki h3 {font-size: 140%; margin-left: 0px;}
div#wiki h4 {font-size: 120%; margin-left: 0px; border-style: dotted;}
div#wiki h5 {font-size: 100%; margin-left: 0px; border-style: dashed;}

/* indent different sections */
div#wiki div.level1 {margin-left: 3px;}
div#wiki div.level2 {margin-left: 3px;}
div#wiki div.level3 {margin-left: 3px;}
div#wiki div.level4 {margin-left: 3px;}
div#wiki div.level5 {margin-left: 3px;}

/* unordered lists */
div#wiki ul { 
  line-height: 1.5em;
  list-style-type: square;
  margin: 0 0 0.5em 1.5em;
  padding: 0;
  list-style-image: url(../images/wiki/bullet.gif);
}

/* ordered lists */
div#wiki ol {
  line-height: 1.5em;
  margin: 0 0 0.5em 1.5em;
  padding: 0;
  color: #638c9c;
  font-weight: bold;
  list-style-image: none;
}

/* the list items overriding the ol definition */
div#wiki .li {
  color: #000000;
  font-weight: normal;
}

div#wiki ol {list-style-type: decimal}
div#wiki ol ol {list-style-type: upper-roman}
div#wiki ol ol ol {list-style-type: lower-alpha}
div#wiki ol ol ol ol {list-style-type: lower-greek}

div#wiki li.open {
  list-style-image: url(../images/wiki/open.gif);
}

div#wiki li.closed {
  list-style-image: url(../images/wiki/closed.gif);
}

div#wiki div.quote {
  border-left: 2px solid #8cacbb;
  padding-left: 3px;
  margin-left: 0;
}

/* code blocks by indention */
div#wiki pre.pre {
  font-family: monospace;
  padding: 0.5em;
  border: 1px dashed #8cacbb;
  color: Black;
  background-color: #f7f9fa;
/*  overflow: auto;*/
  white-space: pre-wrap;       /* css-3 */
  white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
  white-space: -pre-wrap;      /* Opera 4-6 */
  white-space: -o-pre-wrap;    /* Opera 7 */
  word-wrap: break-word;       /* Internet Explorer 5.5+ */
}

/* code blocks by code tag */
div#wiki pre.code {
  font-size: 120%;
  padding: 0.5em;
  border: 1px dashed #8cacbb;
  color: black;
  background-color: #f7f9fa;
/*  overflow: auto;*/
  white-space: pre-wrap;       /* css-3 */
  white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
  white-space: -pre-wrap;      /* Opera 4-6 */
  white-space: -o-pre-wrap;    /* Opera 7 */
  word-wrap: break-word;       /* Internet Explorer 5.5+ */
}

/* inline code words */
div#wiki code {
  font-size: 120%;
}

/* code blocks by file tag */
div#wiki pre.file {
  font-size: 120%;
  padding: 0.5em;
  border: 1px dashed #8cacbb;
  color: Black;
  background-color: #dee7ec;
  overflow: auto;
}

/* inline tables */
div#wiki table.inline {
  background-color: #ffffff;
  border-spacing: 0px;
  border-collapse: collapse;
}

div#wiki table.inline th {
  padding: 3px;
  border: 1px solid #8cacbb;
  background-color: #dee7ec;
}

div#wiki table.inline td {
  padding: 3px;
  border: 1px solid #8cacbb;
}

div#wiki .leftalign{
  text-align: left;
}

div#wiki .centeralign{
  text-align: center;
}

div#wiki .rightalign{
  text-align: right;
}

/* --------------------- footnotes -------------------------------- */

div#wiki div.footnotes{
  clear:both;
  border-top: 1px solid #8cacbb;
  padding-left: 1em;
  margin-top: 1em;
}

div#wiki div.fn{
  font-size:90%;
}

div#wiki a.fn_top{
  vertical-align:super;
  font-size:80%;
}

div#wiki a.fn_bot{
  vertical-align:super;
  font-size:80%;
  font-weight:bold;
}

/* insitu-footnotes */
div#wiki div.insitu-footnote {
  font-size: 80%;
  line-height: 1.2em;
  border: 1px solid #8cacbb;
  background: #eef3f8;
  text-align: left;
  padding: 4px;
  max-width: 40%;    /* IE's width is handled in javascript */  
}

/* overcome IE issue with one line code or file boxes which require h. scrolling */
* html div#wiki .insitu-footnote pre.code, * html div#wiki .insitu-footnote pre.file {
  padding-bottom: 18px;
}

/* ---------------  Image Details  ----------------- */

div#wiki div.img_big {
  float: left;
  margin-right: 0.5em;
}

div#wiki dl.img_tags dt {
  font-weight: bold;
  background-color: #dee7ec;
}
div#wiki dl.img_tags dd {
  background-color: #f5f5f5;
}

div#wiki div.imagemeta {
  color: #666;
  font-size: 70%;
  line-height: 95%;
}

div#wiki div.imagemeta img.thumb{
  float:left;
  margin-right: 0.1em;
}

/* -------------- Media Popup ---------------------- */

div#wiki div.mediaselect-right li, div.uploadform { 
  clear: both;
}

div#wiki div.mediaedit div.data label{
	display: block;
  text-align: right; 
  width: 20%;
  float: left;
  margin-right: 0.5em;
}

div#wiki div.mediaedit div.data input, div.mediaedit div.data textarea{
  width: 75%;
  padding: 0.1em;
  margin: 0.1em;
}

div#wiki div.mediaedit div.data input.button {
  width: 10em;
  display: block;
  margin-left: auto;
  margin-right: auto;
}


